package com.mx.zb.mng.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.mx.zb.mng.bo.Template;
import com.mx.zb.mng.utils.db2.Page;

@Mapper
public interface TemplateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Template record);

    int insertSelective(Template record);

    Template selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Template record);

    int updateByPrimaryKey(Template record);

	Page<Template> findAll();

	Page<Template> findByParams(Template t);
}